import { Router } from 'express';

export interface ControllerInterface {
  path: string;
  router: Router;
}

export enum ReturnStatusCodeEnum {
  OK = 200,
  ERROR = 400
}

interface PaginationInterface {
  page: number;
  pageSize: number;
  total: number;
}

export interface ReturnArrayResponseInterface {
  data: Array<any>;
  profile: PaginationInterface;
  status: ReturnStatusCodeEnum;
}

export interface ReturnObjectResponseInterface {
  data: object;
  status: ReturnStatusCodeEnum;
}
